/*
 * GeoVISTA Center (Penn State, Dept. of Geography)
 * Copyright (c), 2003-2011,  Jin Chen and Alan M. MacEachren, GeoVISTA Center, Penn State University
 * Licensed under Simplified BSD License
 *
 * represent a row in the table  of a meta data file
 * @Original Author: jin Chen
 * @date: Sep 7, 2004$
 * @version: 1.0
 */
package edu.psu.geovista.app.dataloader.v1.components;

import java.util.Properties;

public class MetaDataRecord {
    String ID;

    Properties attributes=new Properties();

    public void addAttribute(String name,Object value) {
        attributes.put(name,value);
    }

    public Object getAttribute(String name){
        return attributes.get(name);
    }
    public String getAttriubteAsString(String name){
        return  (String) getAttribute(name);
    }

    /*String columnname;
    String columndesc;//column description
    String statistictype;//the type classified based on statistic

    public String getColumnname() {
        return columnname;
    }

    public void setColumnname(String columnname) {
        this.columnname = columnname;
    }

    public String getColumndesc() {
        return columndesc;
    }

    public void setColumndesc(String columndesc) {
        this.columndesc = columndesc;
    }

    public String getStatistictype() {
        return statistictype;
    }

    public void setStatistictype(String statistictype) {
        this.statistictype = statistictype;
    }*/
}
